<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Page Title</title>
</head>
<body>
    <h2>我的名字是：<%= name %> </h2>
    <ul><% listData.forEach(element => { %>
        <li><%= element %></li><% }); %>
    </ul>
</body>
</html>